package com.learn.security.oauth2.orm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author knight
 * @since 2021-11-23
 */
@Getter
@Setter
@TableName("sys_user")
public class SysUser extends BaseBean {

	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private String id;

	private String suUsername;

	private String suPassword;

	private String suAvatar;

	private String suName;

	private Integer suGender;

	private String suPhone;

	private String suEmail;

	private LocalDate suBirth;

	private Boolean suEnable;

	private Boolean suExpired;

	private Boolean suLocked;

	private Boolean suPasswordExpired;

}
